<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="创建虚拟机快照时，出现快照无法创建的报错">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="vmware_gud_0115.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="vmware_gud_0137">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>创建虚拟机快照时，出现快照无法创建的报错</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="vmware_gud_0137"></a><a name="vmware_gud_0137"></a>

<h1 class="topictitle1">创建虚拟机快照时，出现快照无法创建的报错</h1>
<div><div class="section" id="vmware_gud_0137__zh-cn_topic_0000002200100813_section7132320145912"><h4 class="sectiontitle">现象描述</h4><p id="vmware_gud_0137__zh-cn_topic_0000002200100813_p11773133842217">虚拟机无法创建新的快照，提示：检测到无效的快照配置。 创建快照时出错: 找不到所需文件。 保存快照时出错: 找不到所需文件。</p>
</div>
<div class="section" id="vmware_gud_0137__zh-cn_topic_0000002200100813_section04103712434"><h4 class="sectiontitle">可能原因</h4><p id="vmware_gud_0137__zh-cn_topic_0000002200100813_p2086834911574">由于VMware自身机制问题，在磁盘空间不足或者快照创建中存储有问题等情况下可能会出现孤立快照，从而无法创建快照。</p>
</div>
<div class="section" id="vmware_gud_0137__zh-cn_topic_0000002200100813_section798410146487"><h4 class="sectiontitle">处理步骤</h4><p id="vmware_gud_0137__zh-cn_topic_0000002200100813_p57121556202314">如果磁盘空间已满则先清理磁盘空间。</p>
<ol id="vmware_gud_0137__zh-cn_topic_0000002200100813_ol1993315212415"><li id="vmware_gud_0137__zh-cn_topic_0000002200100813_li159331323242"><span>登录无法创建快照的虚拟机所在的ESXi主机后台。</span></li><li id="vmware_gud_0137__zh-cn_topic_0000002200100813_li1993720124247"><span>执行命令<strong id="vmware_gud_0137__zh-cn_topic_0000002200100813_b1370124917462">cd /vmfs/volumes/</strong><em id="vmware_gud_0137__zh-cn_topic_0000002200100813_i87044924616">存储名称</em><strong id="vmware_gud_0137__zh-cn_topic_0000002200100813_b2070249194620">/</strong><em id="vmware_gud_0137__zh-cn_topic_0000002200100813_i10628184618461">虚拟机名称</em>命令，进入问题虚拟机。</span></li><li id="vmware_gud_0137__zh-cn_topic_0000002200100813_li265148144814"><span>执行<strong id="vmware_gud_0137__zh-cn_topic_0000002200100813_b6664819483">mkdir tmp</strong>命令，新建临时文件夹tmp。</span></li><li id="vmware_gud_0137__zh-cn_topic_0000002200100813_li10678135194817"><span>执行<strong id="vmware_gud_0137__zh-cn_topic_0000002200100813_b96782035114814">ls</strong>命令，列举出当前目录下的文件，找到文件后缀为 -sesparse.vmdk的文件。</span></li><li id="vmware_gud_0137__zh-cn_topic_0000002200100813_li17607124820479"><span>执行<strong id="vmware_gud_0137__zh-cn_topic_0000002200100813_b153372512189">mv </strong><em id="vmware_gud_0137__zh-cn_topic_0000002200100813_i734142571815">xxxx</em><strong id="vmware_gud_0137__zh-cn_topic_0000002200100813_b13312514189">-sesparse.vmdk tmp/</strong>命令，将文件移入tmp里。</span></li><li id="vmware_gud_0137__zh-cn_topic_0000002200100813_li16448142095019"><span>返回虚拟机管理界面创建快照，成功后回到ESXi主机后台执行<strong id="vmware_gud_0137__zh-cn_topic_0000002200100813_b11449202005018">cd ../</strong>命令，返回上一层目录，即<strong id="vmware_gud_0137__zh-cn_topic_0000002200100813_b1687852741814">/vmfs/volumes/</strong><em id="vmware_gud_0137__zh-cn_topic_0000002200100813_i1487932781820">存储名称</em>目录。</span></li><li id="vmware_gud_0137__zh-cn_topic_0000002200100813_li486415149495"><span>执行<strong id="vmware_gud_0137__zh-cn_topic_0000002200100813_b179914306506">rm -rf tmp/</strong>命令，将tmp文件夹删除。</span></li></ol>
</div>
<div class="section" id="vmware_gud_0137__zh-cn_topic_0000002200100813_section590752117443"><h4 class="sectiontitle">建议与总结</h4><p id="vmware_gud_0137__zh-cn_topic_0000002200100813_p15225181517409">无。</p>
</div>
<div class="section" id="vmware_gud_0137__zh-cn_topic_0000002200100813_section1227093194410"><h4 class="sectiontitle">参考信息</h4><p id="vmware_gud_0137__zh-cn_topic_0000002200100813_p165892210816">无。</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="vmware_gud_0115.html">常见问题</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>